package com.ruoyi.graduate.mapping;


import com.ruoyi.graduate.domain.entity.MsCarousel;
import com.ruoyi.graduate.domain.param.MsCarouselAddParam;
import com.ruoyi.graduate.domain.param.MsCarouselUpdataParam;
import com.ruoyi.graduate.domain.vo.MsCarouselHomeListVo;
import com.ruoyi.graduate.domain.vo.MsCarouselPageVo;
import org.mapstruct.Mapper;
import org.mapstruct.Mapping;
import org.mapstruct.factory.Mappers;

import java.util.List;

@Mapper
public interface MsCarouselMapping {

    MsCarouselMapping INSTANCE = Mappers.getMapper(MsCarouselMapping.class);

    List<MsCarouselPageVo> page(List<MsCarousel> param);

    MsCarousel add(MsCarouselAddParam param);

    MsCarousel update(MsCarouselUpdataParam param);

    List<MsCarouselHomeListVo> homevo(List<MsCarousel> param);
}
